import java.util.*;
public class Jiujiu {
	public static void main(String[] args) {
	   Scanner in=new Scanner(System.in);
		while(in.hasNextInt())
		{
		String[][] arr=new String[9][];
        for(int i=0;i<arr.length;i++){
        	for(int j=0;j<i+1;j++){
        		System.out.println((j+1)+"*"+(i+1));
        	}
        }
	 }
		in.close();
	}
}

